Cannot build simple Xcode8 macOS test application -- error while code signing

Hi,


I'm engaged in learning how to build a macOS desktop application using Xcode8 (under macOS 10.12), but when trying to build & run the a simple test application consisting merely of the stock files available when creating a new Xcode Cocoa Application project, the build fails with an error message, reading


//Volumes/mynasafpvolume/Develop/Xcode/DerivedData/Storyboard-ccqbhlfdkexootagid jmykwfcswf/Build/Products/Debug/Storyboard.app/Contents/Frameworks/libswiftAppKi t.dylib: resource fork, Finder information, or similar detritus not allowed

error: Task failed with exit 1 signal 0 {

/usr/bin/codesign '--force' '--sign' '<somehex>' '--verbose' '/Volumes/mynasafpvolume/Develop/Xcode/DerivedData/Storyboard-ccqbhlfdkexootagidjmykwfcswf/Build/Product s/Debug/Storyboard.app/Contents/Frameworks/libswiftAppKit.dylib'

}


Manually copying 'libswiftAppKit.dylib' from the Xcode directory to the project one, and executing


/usr/bin/codesign '--force' '--sign' '<somehex>' '--verbose' './libswiftAppKit.dylib'


leads to the identical result


./libswiftAppKit.dylib: replacing existing signature

./libswiftAppKit.dylib: resource fork, Finder information, or similar detritus not allowed


The project is residing on an AFP-mounted NAS volume, coming along with some niceties like being unable to use git there. 😟


How best to resolve this one?


-- MMHein

Mac mini, macOS Sierra (10.12), Xcode 8, AFP-mounted NAS volumes

Posted on Sep 23, 2016 1:30 AM

Reply
4 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot build simple Xcode8 macOS test application -- error while code signing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.